<div class="home-content" [hidden]="!configService.noticeArray">
  <mat-accordion multi="true" displayMode="flat">
    <mat-expansion-panel *ngFor="let notice of configService.noticeArray;" expanded="true">
      <mat-expansion-panel-header>
        <mat-panel-title>
          {{notice.title}}
        </mat-panel-title>
      </mat-expansion-panel-header>
      <markdown [data]="notice.message"></markdown>
    </mat-expansion-panel>
  </mat-accordion>
</div>

<div class="fab-content" *ngIf="!isSigned">
  <button mat-fab color="primary" matTooltip="签到" matTooltipPosition="left" (click)="signed()">
    <mat-icon svgIcon="signed"></mat-icon>
  </button>
</div>
